package com.tianyu.inspection.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**********************************
 * @Author YSW
 * @Description 管线点
 * @Date 2021/1/4 - 10:56
 **********************************/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class PipelinePoint implements Serializable {

    @TableId(type = IdType.AUTO)
    @JsonIgnore
    private Integer id;
    private Double lng;
    private Double lat;
    private Float alt;
    private Integer seq;
    @JsonIgnore
    private Integer state;
    @JsonIgnore
    private Integer pipelineId;
}
